package com.dbmedical.common.base.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lijianhong
 * @desc 基础实体类
 * @date 2018.6.8
 */
public class BaseEntity implements Serializable{

    private static final long serialVersionUID = -2853172664680830707L;

    private Integer id;


    private String code;
    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改人
     */
    private String modifyBy;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 修改IP
     */
    private String modifyIp;

    /**
     * 创建IP
     */
    private String createIp;

    public BaseEntity(Integer id, String code, String createBy, Date createTime, String modifyBy, Date modifyTime, String modifyIp, String createIp) {
        this.id = id;
        this.code = code;
        this.createBy = createBy;
        this.createTime = createTime;
        this.modifyBy = modifyBy;
        this.modifyTime = modifyTime;
        this.modifyIp = modifyIp;
        this.createIp = createIp;
    }

    public BaseEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyIp() {
        return modifyIp;
    }

    public void setModifyIp(String modifyIp) {
        this.modifyIp = modifyIp;
    }

    public String getCreateIp() {
        return createIp;
    }

    public void setCreateIp(String createIp) {
        this.createIp = createIp;
    }
}
